//
//  ZZFBaseRequest.h
//  ZZFBaseServiceSDK
//
//  Created by quheng on 2017/8/21.
//  Copyright © 2017年 quheng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BZBaseRequestModel.h"



@interface BZBaseRequest : NSObject


- (void)requestByModelAsync:(BZBaseRequestModel *)model
                    success:(void(^)(NSString *code,id response))success
                    failure:(void(^)(NSString *code,NSError *error))failure;


- (BOOL)requestByModelSync:(BZBaseRequestModel *)model
                  outError:(NSError *__autoreleasing *)outError;


- (void)uploadResourcesByDatas:(NSArray *) datas
                       success:(void(^)(NSArray* mediaPaths ))success
                       failure:(void(^)(BOOL success, NSError *error))failure;

@end
